package com.androdro.bluenote.coolstruttin1588.utility;
/**
 * Cool Struttin'
 * Nagoyakousoku.java
 *
 * @author Yu Shibusawa <jazzycatagogo@gmail.com>
 * @version $Id$
 *
 * Copyright (C) androdro lab. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * * Redistributions of source code must retain the above copyright
 *   notice, this list of conditions and the following disclaimer.
 *
 * * Redistributions in binary form must reproduce the above copyright
 *   notice, this list of conditions and the following disclaimer in the
 *   documentation and/or other materials provided with the distribution.
 *
 * * Neither the name of the nor the names of its contributors may be used to
 *   endorse or promote products derived from this software without specific
 *   prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 *
 *
 */

/**
 * 定義クラス
 * @author Yu Shibusawa
 *
 */
public class Define {

	/**
	 * URL関連
	 * @author Yu Shibusawa
	 *
	 */
	public class URL{

		public static final String URL_API_CONFIG = "http://api.androdro.com/CoolStruttin1588/config.json";

		public static final String URL_API_CONFIG_HOST = "api.androdro.com";

		public static final String URL_API_CONFIG_PATH = "/CoolStruttin1588/config.json";

		public static final String HTTP_USER_AGENT = "Mozilla/5.0 (Linux; U; Android; en-us; +http://androdro.com/) androdro-client Version/1.0";

		public static final String URL_HTTP_DEFAULT_REFERER = "http://androdro.com/";
	}

	/**
	 * 状態ID
	 * @author Yu Shibusawa
	 *
	 */
	public class CONDITION{

		public static final int CONDITION_CLOSED = 0x15889001;

		public static final int CONDITION_ACCIDENT = 0x15889002;

		public static final int CONDITION_CONGESTION = 0x15889003;

		public static final int CONDITION_SNOW = 0x15889004;

		public static final int CONDITION_JAM = 0x15889005;

		public static final int CONDITION_OTHER = 0x15889006;
	}

	/**
	 * @author Yu Shibusawa
	 *
	 */
	public class ACTION{
		public static final int ACTION_INTRO = 0x15881000;

		public static final int ACTION_MAP = 0x15882000;

		public static final int ACTION_ABOUT = 0x15883000;

		public static final int ACTION_INFO = 0x15884000;

		public static final int ACTION_PREFERENCE = 0x15880901;

	}

	/**
	 * @author Yu Shibusawa
	 *
	 */
	public class OPTION{
		public static final int OPTION_MENU_PREFERENCE = 0x15881101;

		public static final int OPTION_MENU_ABOUT = 0x15881102;
	}

	/**
	 * @author Yu Shibusawa
	 *
	 */
	public class COLOR{

		public static final int COLOR_ENTRANCE_PROLOGUE = 0xff000000;

		public static final int COLOR_ENTRANCE_HIGHWAY = 0xff808080;

		public static final int COLOR_ENTRANCE_HIGHWAYNAME = 0xff000000;

		public static final int COLOR_ENTRANCE_ROUTE = 0xff808080;

		public static final int COLOR_ENTRANCE_ROUTENAME = 0xff000000;
	}


}
